package com.zxjbyte.yiyi.framework.tenant.db;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zxjbyte.yiyi.framework.mybatis.base.BasePO;
import lombok.Data;

/**
 * 多租户基类 扩展BasePO
 * @Author zhangxingjia
 * @Date 2023/3/14 19:14
 * @Version: 1.0
 */
@Data
public abstract class TenantBasePO extends BasePO {

    private static final long serialVersionUID = 5312511954739632747L;

    public static final String TENANT_ID = "tenant_id";

    // 多租户编号
    @TableField(TENANT_ID)
    private String tenantId;

}
